Package com.cisco.pt.ipc.sim
Interface VTPProcess
- All Known Implementing Classes:
VTPProcessImpl
Information provided by the PKI file:
\class VtpProcess
\brief VtpProcess handles and manipulates the VTP process.
\example network().getDevice("Switch0").getProcess("VtpProcess")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:Information provided by the PKI file:getMode()Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:voidsetDomainName(String domainName) Information provided by the PKI file:voidInformation provided by the PKI file:voidsetPassword(String password) Information provided by the PKI file:voidsetVersion(Byte version) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
setDomainName
Information provided by the PKI file:
\brief Sets the VTP domain name. \param domainName, the domain name.- Parameters:
domainName- Takes in a parameter of domainName
-
getDomainName
String getDomainName()Information provided by the PKI file:
\brief Returns the VTP domain name. \return string, the domain name.- Returns:
- String Returns a String
-
setMode
Information provided by the PKI file:
\brief Sets the VTP mode. \param type, the VTP mode. VTP modes: eVtpServer = 0, eVtpClient = 1, eVtpTransparent = 2- Parameters:
type- Takes in a parameter of type
-
getMode
VTPMode getMode()Information provided by the PKI file:
\brief Returns the VTP mode. \return VtpMode, the VTP mode. VTP modes: eVtpServer = 0, eVtpClient = 1, eVtpTransparent = 2- Returns:
- VTPMode Returns a VTPMode
-
setVersion
Information provided by the PKI file:
\brief Sets the VTP version. \param version, the VTP version.- Parameters:
version- Takes in a parameter of version
-
getVersion
Byte getVersion()Information provided by the PKI file:
\brief Returns the VTP version. \return byte, the VTP version.- Returns:
- Byte Returns a Byte
-
setPassword
Information provided by the PKI file:
\brief Sets the VTP password. \param password, the VTP version.- Parameters:
password- Takes in a parameter of password
-
getPassword
String getPassword()Information provided by the PKI file:
\brief Returns the VTP password. \param string, the VTP version.- Returns:
- String Returns a String
-
getConfigRevision
int getConfigRevision()Information provided by the PKI file:
\brief Returns the configuration revision number. \return int, the configuration revision number.- Returns:
- int Returns a int
-